/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jackey
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.dao;

import org.springframework.stereotype.Repository;

import com.eyaomall.wxmall.model.po.Resource;
import com.lycheeframework.core.annotation.NameSpace;
import com.lycheeframework.core.support.DaoSupport;
/**
 * 资源DAO
 * @author pro
 *
 */
@Repository
@NameSpace("resource")
public class ResourceDao extends DaoSupport<Resource>{
	
	public Resource query(int id){
		Resource resource = new Resource();
		resource.setId(id);
		
		return (Resource) query(resource);
	}
}

